<?php
/**
 * Created by PhpStorm.
 * User: Allen
 * Date: 2017/1/18
 * Time: 11:22
 */

namespace EWeiLink\JuPai;


trait JpControllerTrait
{
    /**
     *
     * @FunName: returnFalse
     * @Param: * @param string $_message
     * @param null $_data
     */
    public function _error(string $_message, $_data = null) {
        return ['error_msg' => $_message, 'data' => $_data ?? []];
    }
}
